package com.itheima.dubbo.interfaces;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.commons.pojo.RecommendUser;
import com.itheima.commons.vo.PageResult;

/**
 * 推荐用户（今日佳人）
 */
public interface RecommendUserApi {

    //根据用户id查询匹配分数最高的今日佳人的id
    RecommendUser findRecommendUserById(Long id);

    //分页查询推荐
    PageResult findAllRecommendUsersById(Integer size,Integer page,Long id);


    RecommendUser queryScore(Long myId, Long userId);
}
